package com.enjoyor.soa.traffic.frame.domain;

import com.enjoyor.soa.traffic.util.bean.base.ABean;

import java.util.Date;

/**
 * 20190103 日志采集规范，新增多个字段
 * 操作日志表
 */
public class PubLogNorm extends ABean {

    private static final long serialVersionUID = 8651710120854658854L;

    // 日志编号，主键:L+微秒级时间戳
    private String logId;

    // 日志记录人
    private String logUser;
    
    // 警员编号
    private String personId;
    
    //单位机构代码
    private String orgId;
    
    //单位名称
    private String orgName;

    // 日志分类
    private String logClass;

    // 日志分类名称
    private String logClassName;

    // 日志级别
    private String logLevel;

    // 日志级别名称
    private String logLevelName;

    // 事务类型
    private String transType;

    // 事务类型名称
    private String transTypeName;

    // IP消息
    private String logIp;

    // 日志对象
    private String logModular;

    // 记录时间
    private Date logTime;

    // 日志内容
    private String content;

    /**
     * 日志记录的系统名称
     */
    private String logSysName;
    /**
     * MAC地址
     */
    private String logMac;
    /**
     * 操作前内容
     */
    private String contentBefore;
    /**
     * 操作后内容
     */
    private String contentAfter;
    /**
     * 操作结果
     */
    private String logResult;

    /**
     * 对象号 （如设备编号等）
     */
    private String objectId;

    /**
     * 设备类型
     */
    private String deviceType;

    public PubLogNorm() {
    }

    public String getLogId() {
        return logId;
    }

    public void setLogId(String logId) {
        this.logId = logId;
    }

    public String getLogUser() {
        return logUser;
    }

    public void setLogUser(String logUser) {
        this.logUser = logUser;
    }

    public String getLogClass() {
        return logClass;
    }

    public void setLogClass(String logClass) {
        this.logClass = logClass;
    }

    public String getLogClassName() {
        return logClassName;
    }

    public void setLogClassName(String logClassName) {
        this.logClassName = logClassName;
    }

    public String getLogLevel() {
        return logLevel;
    }

    public void setLogLevel(String logLevel) {
        this.logLevel = logLevel;
    }

    public String getLogLevelName() {
        return logLevelName;
    }

    public void setLogLevelName(String logLevelName) {
        this.logLevelName = logLevelName;
    }

    public String getTransType() {
        return transType;
    }

    public void setTransType(String transType) {
        this.transType = transType;
    }

    public String getTransTypeName() {
        return transTypeName;
    }

    public void setTransTypeName(String transTypeName) {
        this.transTypeName = transTypeName;
    }

    public String getLogIp() {
        return logIp;
    }

    public void setLogIp(String logIp) {
        this.logIp = logIp;
    }

    public String getLogModular() {
        return logModular;
    }

    public void setLogModular(String logModular) {
        this.logModular = logModular;
    }

    public Date getLogTime() {
        return logTime;
    }

    public void setLogTime(Date logTime) {
        this.logTime = logTime;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getLogSysName() {
        return logSysName;
    }

    public void setLogSysName(String logSysName) {
        this.logSysName = logSysName;
    }

    public String getLogMac() {
        return logMac;
    }

    public void setLogMac(String logMac) {
        this.logMac = logMac;
    }

    public String getContentBefore() {
        return contentBefore;
    }

    public void setContentBefore(String contentBefore) {
        this.contentBefore = contentBefore;
    }

    public String getContentAfter() {
        return contentAfter;
    }

    public void setContentAfter(String contentAfter) {
        this.contentAfter = contentAfter;
    }

    public String getLogResult() {
        return logResult;
    }

    public void setLogResult(String logResult) {
        this.logResult = logResult;
    }

	public String getPersonId() {
		return personId;
	}

	public void setPersonId(String personId) {
		this.personId = personId;
	}

	public String getOrgId() {
		return orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}

	public String getOrgName() {
		return orgName;
	}

	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}


    public String getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(String deviceType) {
        this.deviceType = deviceType;
    }

    public String getObjectId() {
        return objectId;
    }
    public void setObjectId(String objectId) {
        this.objectId = objectId;
    }
}